import 'package:flutter/material.dart';
import 'package:get/Get.dart';

import 'ColorSchemes.dart';

/// 应用颜色
class AppColor {
  // colorScheme
  static ColorScheme get colorScheme => lightColorScheme;

  // !Get.isDarkMode ? lightColorScheme: darkColorScheme;
  // static Color get background => Get.theme.colorScheme.background;

  // 顶部导航栏 背景
  static Color get topNavBgColor => const Color(0XFFEDEDED);

  // !Get.isDarkMode ? const Color(0XFFEDEDED): const Color(0XFF111111);

  // 底部导航栏 背景
  static Color get bottomNavBgColor => const Color(0XFFF5F5F5);

  // !Get.isDarkMode ? const Color(0XFFF5F5F5) : const Color(0XFF1B1B1B);

  // app 背景
  static Color get appBgColor => const Color(0XFFEDEDED);

  // !Get.isDarkMode ? const Color(0XFFEDEDED) : const Color(0XFF111111);

  // 卡片 背景
  static Color get cardBgColor => Colors.white;

  // !Get.isDarkMode ? Colors.white : const Color(0XFF191919);

  // 主题色
  static Color themeColor = const Color(0XFF75CEFF);

  // 强调色
  static Color accentColour = const Color(0XFFB1E3FE);

  // 图标颜色
  static Color get iconColor => Colors.black;

  // !Get.isDarkMode ? Colors.black: Colors.white;

  // 一级字体颜色
  static Color get firstFontColor => const Color(0XFF1A1A1A);

  // !Get.isDarkMode ? const Color(0XFF1A1A1A) : Colors.white;

  // 二级字体颜色
  static Color get secondFontColor => const Color(0XFF6F6F6F);
// !Get.isDarkMode ? const Color(0XFF6F6F6F): const Color(0XFF6E6E6E);
}
